import scipy.io as sio
matdata = sio.loadmat('time_series.mat')
print(matdata['y2'].shape)